﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Site.Master" AutoEventWireup="true" CodeBehind="Login.aspx.cs" Inherits="ELearningSystem.UI.Account.Login" %>
<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="server">
    <style type="text/css">
        h2 {
            text-align: center;
            font-family: "lobster 1.4", sans-serif;
            border-bottom: thin;
            padding-bottom: 7px;
            border-bottom-style: inset;
            border-bottom-color: gray;
            display: block;
        }
        #login_div p {
            margin-left: 80px;
        }
        #login_div {
            padding-bottom: 30px;
            margin-left: 250px;
            box-shadow: 1px 1px 1px green;
            
        }
        .style2
        {
            font-family: Arial, Helvetica, sans-serif;
        }
    </style>
</asp:Content>
<asp:Content ID="Content3" ContentPlaceHolderID="MainContent" runat="server">
    <div id="login_div" 
        
        style="background: white url('../images/bg04.png') repeat scroll 0 0; width: 486px;">
        <h2 class="style2"> Login </h2>
        
        
        <p style="width: 335px; margin-top: 14px;">
            Email :  <asp:TextBox ID="loginEmailTextBox" runat="server" 
                BorderColor="#009933" BorderStyle="Solid" 
                style="margin-left: 31px; margin-top: 0px; margin-bottom: 0px" 
                ValidationGroup="LoginValidation"></asp:TextBox>
            <asp:RequiredFieldValidator ID="RequiredFieldValidator1" runat="server" 
                ControlToValidate="loginEmailTextBox" ErrorMessage="Em" ForeColor="#CC0000" 
                ValidationGroup="LoginValidation">*</asp:RequiredFieldValidator>
        </p>
        <p style="width: 336px; margin-top: 9px">
            Password : <asp:TextBox ID="loginPasswordTextBox" runat="server" 
                TextMode="Password" BackColor="White" BorderColor="#009933" 
                BorderStyle="Solid" style="margin-top: 0px" 
                ValidationGroup="LoginValidation"></asp:TextBox>
            <asp:RequiredFieldValidator ID="RequiredFieldValidator2" runat="server" 
                ControlToValidate="loginPasswordTextBox" ErrorMessage="RequiredFieldValidator" 
                ForeColor="#CC0000" ValidationGroup="LoginValidation">*</asp:RequiredFieldValidator>
        </p>
        <p>
            <asp:Button runat="server" ID="loginButton" Text="Login" 
                style="margin-left: 106px" BackColor="#006600" ForeColor="White" Height="38px" 
                Width="122px" onclick="loginButton_Click" 
                ValidationGroup="LoginValidation"/> 
        </p>
        <p> Not registered yet? Make a <a href="Registration.aspx">Registration </a> </p>
        <p>
            <asp:Label runat="server" ID="messageLabel"></asp:Label>
        </p>
        
    </div>
</asp:Content>
